package mianxiangduixiang.ClassExam;

public class Circle implements Shape {

    private double Pi = 3.14;
    private double r = 5;

    @Override
    public double getPermeter() {
        return 2 * r * Pi;
    }

    @Override
    public double getArea() {
        return Pi * r * r;
    }
}
